Assume that a `build.rs` file is a build script
authorPaul Woolcock <paul@woolcock.us>
Tue, 7 Feb 2017 17:41:36 +0000 (12:41 -0500)
committerPaul Woolcock <paul@woolcock.us>
Tue, 7 Feb 2017 17:41:36 +0000 (12:41 -0500)
commit952b0ab3e12b332fcc4237f5e4b87caf962e591b
tree7ff82148cea3b6a53c27856d73f432f05e97c43c
parentde2919fd32f1d4f599bb59ac78ea4f01f3a33e46
Assume that a `build.rs` file is a build script

If cargo sees a `build.rs` file in the same directory as the current
`Cargo.toml`, it will assume that the `build.rs` file is a build script,
_unless there is_ `build = false` _in the _ `Cargo.toml` _file_.

Closes #3391
src/cargo/util/toml.rs
tests/build-script.rs